package com.mastercard.labs

class Redemption {
	
	public static enum Status {PROCESSING('Processing'), SUCCESS('Successful'), FAIL('Failed') 
		final String value
		String toString(){value}
		Status(String value){this.value = value}
		String getKey(){ name()}
	}
	static constraints = {
    }
	
	User user
	Voucher voucher
	Date rdptDate
	int quantity
	String status
	String updatedBy
}
